import request from '@/utils/request'

export default {

    /*
    会员卡模块
    */
    cardList: request.post('/merchant/member/card/config/save'),//会员卡管理，保存
    cardDetailList: request.get('/merchant/member/card/config/detail'),//会员卡管理，查看当前商户会员卡配置

    /*
    优惠劵模块
    */
    couponList: request.post('/merchant/member/coupon/list'),//优惠券列表
    couponDetailList: request.get('/merchant/member/coupon/detail'),//优惠券详情
    couponSave: request.post('/merchant/member/coupon/save'),//优惠券配置保存
    couponDelete: request.get('/merchant/member/coupon/delete'),//优惠券配置删除   

    /*
    会员活动模块
    */
    activityList: request.post('/merchant/member/activity/list'),//会员活动列表
    activityDetailList: request.get('/merchant/member/activity/detail'),//会员活动详情
    activitySave: request.post('/merchant/member/activity/save'),//会员活动保存
    activityDelete: request.get('/merchant/member/activity/delete'),//活动配置删除

    /*
    会员列表模块
    */
    memberList: request.post('/merchant/member/list'),//商户会员分页列表
    memberScoreList: request.post('/merchant/member/score/list'),//商户会员详情-积分变动记录
    memberTransList: request.post('/merchant/member/trans/list'),//商户会员详情-会员卡交易记录
    memberDetailList: request.get('/merchant/member/detail'),//商户会员详情
    memberRecharge: request.post('/merchant/member/recharge'),//平台充值
    memberVerify: request.post('/merchant/member/verify'),//平台核销
    memberStaus: request.post('/merchant/member/staus/update')//会员状态修改
    
}